package com.kt.dion.golf.data;

import java.util.ArrayList;

import com.kt.dion.golf.util.Log;

public class NewsData extends Data
{
	private ArrayList arrNews = new ArrayList();

	public void addNews(News news)
	{
		arrNews.add(news);
	}

	public News getNews(int i)
	{
		return (News) arrNews.get(i);
	}

	public int getDataSize()
	{
		return arrNews.size();
	}

	public class News
	{
		private String title;
		private String titleOfFocus;
		private String titleOfUnFocus;
		private String date;
		private String contents;

		public String getTitle()
		{
			return title;
		}

		public void setTitle(String title)
		{
			this.title = title;
		}

		public String getDate()
		{
			return date;
		}

		public void setDate(String date)
		{
			this.date = date;
		}

		public String getContents()
		{
			return contents;
		}

		public void setContents(String contents)
		{
			this.contents = contents;
		}

		public String getTitleOfFocus()
		{
			return titleOfFocus;
		}

		public void setTitleOfFocus(String titleOfFocus)
		{
			this.titleOfFocus = titleOfFocus;
		}

		public String getTitleOfUnFocus()
		{
			return titleOfUnFocus;
		}

		public void setTitleOfUnFocus(String titleOfUnFocus)
		{
			this.titleOfUnFocus = titleOfUnFocus;
		}
	}

	public void dispose(boolean isDisposeOfPage)
	{
	}

	public String toString()
	{
		return null;
	}
}
